package site.wuao.simpledesignmode.facade;

/**
 * 外观类（张无忌）
 *
 * @author wuao
 * @date 2018.04.17
 * @note -
 * ---------------------------------------------------------------------------------------------------------------------
 * @modified -
 * @date -
 * @note -
 */
public class ZhangWuJi {
    private ZhaoShi mZhaoShi;
    private NeiGong mNeiGong;
    private JingMai mJingMai;

    public ZhangWuJi() {
        mZhaoShi = new ZhaoShi();
        mNeiGong = new NeiGong();
        mJingMai = new JingMai();
    }

    /**
     * 使用乾坤大挪移
     */
    public void qianKun() {
        mJingMai.jingMai();
        mNeiGong.QianKun();
    }

    /**
     * 使用七伤拳
     */
    public void qiShang() {
        mJingMai.jingMai();
        mNeiGong.JiuYang();
        mZhaoShi.QiShangQuan();
    }
}
